package com.develop.enumm;

/**
 * @author xumh
 * @title: DayEnum
 * @projectName ruoyi
 * @description: TODO
 * @date 2024/12/3114:47
 */
public enum DayEnum {
    MONDAY,
    TUESDAY,
    WEDNESDAY,
    THURSDAY,
    FRIDAY,
    SATURDAY,
    SUNDAY;

    // 方法判断是否为工作日
    public boolean isWeekday() {
        return this != SUNDAY && this != SATURDAY;
    }
}
